<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			function f1(a,b,c){
				return a+b+c;
			}
			
			var one={"name1":"小明"};
			var two={"name2":"小红"};
			
			console.log(f1.call(one,1,2,3));
			console.log(f1.apply(two,[5,6,7]));
		</script>
	</body>
</html>
